<%--
  Created by IntelliJ IDEA.
  User: liming30
  Date: 2018/1/17
  Time: 17:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>主页</title>
</head>
<body>
    <h3>数据插入测试</h3>
    <form action="/user" method="post" name="form">
        姓名：<input type="text" name="userName" value="张三" /><br>
        密码：<input type="password" name="password" value="hahaha" /><br>
        年龄：<input type="text" name="age" value="12" /><br>
        <input type="submit" value="提交"/>
    </form>

    <br>

    <h3>文件上传测试</h3>
    <form method="post" action="fileupload" enctype="multipart/form-data">
        文件名：  <input type="text" name="name"/><br>
        文件路径：<input type="file" name="file"/><br>
        <input type="submit"/>
    </form>
</body>
</html>
